define(['app'], function(app) {
    'use strict';

    var controller = function controller($scope, Auctionup) {

        Auctionup.get_auctionup(function (data) {
            $scope.auction = data;
        });



    }

    controller.$inject = ['$scope', 'Auctionup'];

    return app.registerController("auctionupctrl",controller);
});